package com.nari.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nari.common.core.annotation.Excel;
import com.nari.common.core.annotation.Excel.ColumnType;
import com.nari.common.core.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 操作日志记录表 rst_log
 * 
 * @author nari
 */

public class SysRstLog implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 日志主键 */
    @Excel(name = "操作序号")
    private long id;

    /** 接口编号 */
    @Excel(name = "接口编号")
    private String tranId;

    /** 接口名称 */
    @Excel(name = "接口名称")
    private String tranName;

    /** 纳税主体 */
    @Excel(name = "纳税主体")
    private String taxpayer;

    /** 交易流水号 */
    @Excel(name = "交易流水号")
    private String tranSEQ;

    /** 操作类型（001请求读取，002请求入列，003请求消费，004编码签名，005接口调用，006获得返回，007返回验签，008返回入列，009返回消费，010结果写库） */
    @Excel(name = "操作类别", readConverterExp = "001=请求读取,002=请求入列,003=请求消费,004=编码签名,005=接口调用,006=获得返回,007=返回验签,008=返回入列,009=返回消费,010=结果写库")
    private String type;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 信息备注 */
    @Excel(name = "信息备注")
    private String remark;

    /** 报文信息 */
    @Excel(name = "报文信息")
    private String cData;


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTranId() {
        return tranId;
    }

    public void setTranId(String tranId) {
        this.tranId = tranId;
    }

    public String getTranName() {
        return tranName;
    }

    public void setTranName(String tranName) {
        this.tranName = tranName;
    }

    public String getTaxpayer() {
        return taxpayer;
    }

    public void setTaxpayer(String taxpayer) {
        this.taxpayer = taxpayer;
    }

    public String getTranSEQ() {
        return tranSEQ;
    }

    public void setTranSEQ(String tranSEQ) {
        this.tranSEQ = tranSEQ;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getcData() {
        return cData;
    }

    public void setcData(String cData) {
        this.cData = cData;
    }
}
